package cn.glc.daily.life.model.to;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 角色 - 权限
 *
 * @author simon
 * @date 2020/11/9 10:07
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class RolePermissionTo extends BaseTo {
    /**
     * 角色名称
     */
    private String roleName;
    /**
     * 角色唯一值
     */
    private String roleCode;
    /**
     * 角色已拥有的权限
     */
    private List<PermissionTo> permissionToList;
}
